/* eslint-disable */ 
// 通过URL获取所有参数
export function getParamUrl(name){
    var needStr = window.location.href.split("?")[1]
    if (!needStr) {
        return null
    }
    var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
    var r = needStr.match(reg);
    if(r!=null)return  unescape(r[2]); return null;
}